File: /home/undanet/www/PortalEmpleo/src/Entity/DboMateria.php
<?php
namespace PortalEmpleo\Entity;
use Doctrine\ORM\Mapping as ORM;
/**
* DboMateria
*
* @ORM\Table(name="dbo_materia")
* @ORM\Entity
*/
class DboMateria
{
/**
* @var int
*
* @ORM\Column(name="IdMateria", type="integer", nullable=false)
* @ORM\Id
* @ORM\GeneratedValue(strategy="IDENTITY")
*/
private $idmateria;
/**
* @var string
*
* @ORM\Column(name="Materia", type="string", length=75, nullable=false)
*/
private $materia;
/**
* @var bool
*
* @ORM\Column(name="Baja", type="boolean", nullable=false)
*/
private $baja;
/**
* Constructor
*/
public function __construct()
{
}
/**
* Get the value of idmateria
*
* @return int
*/
public function getIdmateria()
{
return $this->idmateria;
}
/**
* Set the value of idmateria
*
* @param int $idmateria
*
* @return self
*/
public function setIdmateria(int $idmateria)
{
$this->idmateria = $idmateria;
return $this;
}
/**
* Get the value of materia
*
* @return string
*/
public function getMateria()
{
return $this->materia;
}
/**
* Set the value of materia
*
* @param string $materia
*
* @return self
*/
public function setMateria(string $materia)
{
$this->materia = $materia;
return $this;
}
/**
* Get the value of baja
*
* @return bool
*/
public function getBaja()
{
return $this->baja;
}
/**
* Set the value of baja
*
* @param bool $baja
*
* @return self
*/
public function setBaja(bool $baja)
{
$this->baja = $baja;
return $this;
}
}